package com.scuthnweb.action.picwallmodule;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.scuthnweb.domain.transfer.AlbumList;
import com.scuthnweb.service.PicwallModule;

public class CheckAllAlbumsAction extends ActionSupport{
    private Integer page;
    private Integer pageSize;
	
	private PicwallModule picwallModule;
    
	private AlbumList result;
	
    public String execute(){
    	this.result = this.picwallModule.checkAllAlbums(page, pageSize);
        return SUCCESS;
    }

	public PicwallModule getPicwallModule() {
		return picwallModule;
	}

	public void setPicwallModule(PicwallModule picwallModule) {
		this.picwallModule = picwallModule;
	}

	public AlbumList getResult() {
		return result;
	}

	public void setResult(AlbumList result) {
		this.result = result;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
}
